package com.hdc.hdc.warehouseManage.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 仓库管理
 * @author GJY
 * 人生格言：学以致用终将成功
 * @version 创建时间：2018年4月16日 下午3:56:16 
 *
 */
@Entity
@Table(name="house")
public class House implements Serializable{

	private static final long serialVersionUID = -896883852102385590L;
	
	@Id
	@Column(name="id")
	@GeneratedValue(generator="uuid")
	@GenericGenerator(name="uuid",strategy="org.hibernate.id.UUIDGenerator")
	private String id;
	
	@Column(name="house_name")
	private String houseName;
	
	@Column(name="house_position")
	private String housePosition;
	
	@Column(name="house_desc")
	private String houseDesc;
	
	@Column(name="create_date")
	private Date createDate;
	
	@Column(name="update_date")
	private Date updateDate;
	
	@Column(name="house_class")
	private String houseClass;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getHouseName() {
		return houseName;
	}

	public void setHouseName(String houseName) {
		this.houseName = houseName;
	}

	public String getHousePosition() {
		return housePosition;
	}

	public void setHousePosition(String housePosition) {
		this.housePosition = housePosition;
	}

	public String getHouseDesc() {
		return houseDesc;
	}

	public void setHouseDesc(String houseDesc) {
		this.houseDesc = houseDesc;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getHouseClass() {
		return houseClass;
	}

	public void setHouseClass(String houseClass) {
		this.houseClass = houseClass;
	}
	
}
